package com.neil.dynamic.manage.respository;

import com.neil.dynamic.manage.entity.DynamicVersion;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *  动态版本持久操作类
 * @ProjectName:
 * @Package:        com.neil.dynamic.manage.respository
 * @ClassName:      DynamicVersionMapper
 * @Description:    动态版本持久操作类
 * @Author:         Neil.Zhou
 * @CreateDate:     2019/10/14 17:49
 * @UpdateUser:     Neil.Zhou
 * @UpdateDate:     2019/10/14 17:49
 * @UpdateRemark:   The modified content
 * @Version:        1.0
 * <p>Copyright: Copyright (c) 2019/10/14</p>
 *
 */
@Repository
public interface DynamicVersionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DynamicVersion record);

    int insertSelective(DynamicVersion record);

    DynamicVersion selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DynamicVersion record);

    int updateByPrimaryKey(DynamicVersion record);

    Long getLastVersion();

    List<DynamicVersion> listAll();
}